package com.bbc.fragment;

import android.content.Intent;
import android.view.View;

import com.bbc.R;
import com.bbc.base.BaseFragment;
import com.bbc.ui.PorterDuffXfermodeActivity;
import com.bbc.ui.WaveDemoActivity;

import butterknife.OnClick;

/**
 * Created by Administrator on 2017/9/26.
 */

public class MessageFragment extends BaseFragment {
    @Override
    protected void setListeners() {

    }

    @Override
    protected void initData() {


    }

    @Override
    protected void findViewId() {

    }

    @Override
    protected int getViewLayou() {
        return R.layout.my_view_mer;
    }



    @OnClick({R.id.start_first, R.id.start_second})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.start_first:
                getContext().startActivity(new Intent(getContext(), WaveDemoActivity.class));
                break;
            case R.id.start_second:
                getContext().startActivity(new Intent(getContext(), PorterDuffXfermodeActivity.class));
                break;
        }
    }
}
